wayland: Drop a pointless vfunc
authorMatthias Clasen <mclasen@redhat.com>
Mon, 8 Jun 2020 22:20:20 +0000 (18:20 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 8 Jun 2020 22:24:20 +0000 (18:24 -0400)
A vfunc that just returns FALSE is not useful.

gdk/wayland/gdkdevice-wayland.c

index c0708bc8afae2989b38389073dc269d16427802d..17001aff1b07052da74d8e70466c5ccfbbc3046c 100644 (file)
@@ -309,17 +309,6 @@ static void deliver_key_event (GdkWaylandSeat       *seat,
                                uint32_t              state,
                                gboolean              from_key_repeat);
 
-static gboolean
-gdk_wayland_device_get_history (GdkDevice      *device,
-                                GdkSurface      *surface,
-                                guint32         start,
-                                guint32         stop,
-                                GdkTimeCoord ***events,
-                                gint           *n_events)
-{
-  return FALSE;
-}
-
 static void
 gdk_wayland_device_get_state (GdkDevice       *device,
                               GdkSurface       *surface,
@@ -828,7 +817,6 @@ gdk_wayland_device_class_init (GdkWaylandDeviceClass *klass)
 {
   GdkDeviceClass *device_class = GDK_DEVICE_CLASS (klass);
 
-  device_class->get_history = gdk_wayland_device_get_history;
   device_class->get_state = gdk_wayland_device_get_state;
   device_class->set_surface_cursor = gdk_wayland_device_set_surface_cursor;
   device_class->query_state = gdk_wayland_device_query_state;